﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DLL.TrainingOrganization
{
	/// <summary>
	/// 培训机构实体类
	/// </summary>
	/// <![CDATA[2014-10-8 0:21:09]]>
	public class Entity : EntityBase
	{
		#region 属性
		public string strName = "";		// 培训机构名称
		public string strLink = "";		// 培训机构网址
		public int nParentID = 0;		// 上级培训机构ID
		public int nOrder = 0;		// 培训机构排序
		#endregion 属性

		#region Get、Set属性
		/// <summary>
		/// 培训机构名称
		/// </summary>
		public string Name
		{
			get { return strName; }
			set { strName = value.Trim(); }
		}
		/// <summary>
		/// 培训机构网址
		/// </summary>
		public string Link
		{
			get { return strLink; }
			set { strLink = value.Trim(); }
		}
		/// <summary>
		/// 上级培训机构ID
		/// </summary>
		public int ParentID
		{
			get { return nParentID; }
			set { nParentID = value; }
		}
		/// <summary>
		/// 培训机构排序
		/// </summary>
		public int Order
		{
			get { return nOrder; }
			set { nOrder = value; }
		}
		#endregion Get、Set属性

		#region 构造函数
		/// <summary>
		/// 实体类构造函数
		/// </summary>
		/// <![CDATA[2014-10-8 0:21:09]]>
		public Entity()
			: base()
		{
		}
		#endregion 构造函数
	}
}
